<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ include file="/jspf/commons.jspf" %>

<html:html xhtml="true" lang="true">
<head>
<title><fmt:message key="admin.quartz_jobs.jobs"/></title>
</head>

<body>

<div class="pageheading"><fmt:message key="admin.quartz_jobs.jobs"/></div>

<c:forEach items="${job2Triggers}" var="job2Trigger">
<c:set var="job" value="${job2Trigger.key}"/>
<c:set var="triggers" value="${job2Trigger.value}"/>
<table>
<tr>
<td><fmt:message key="admin.quartz_jobs.jobName"/></td>
<td>${job.name}</td>
</tr>
<tr>
<td><fmt:message key="admin.quartz_jobs.description"/></td>
<td>${job.description}</td>
</tr>
<c:forEach items="${triggers}" var="trigger">
<tr>
<td><fmt:message key="admin.quartz_jobs.nextFireTime"/></td>
<td><fmt:formatDate value="${trigger.nextFireTime}" type="both" timeStyle="long" dateStyle="long"/></td>
</tr>
</c:forEach>
<tr>
<td>&nbsp;</td>
<c:url value="/admin/executeJob.do" var="executeJobURL">
	<c:param name="jobName" value="${job.name}" />
	<c:param name="jobGroup" value="${job.group}" />
</c:url>
<td><a href='<c:out value="${executeJobURL}"/>'><fmt:message key="admin.quartz_jobs.executeNow"/></a></td>
</tr>
</table>
<br />
</c:forEach>
</body>
</html:html>